% -*- coding:utf-8 -*-
\documentclass[11 pt, a4paper, twoside]{article}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[spanish, activeacute]{babel}
\usepackage[pdftex, bookmarks, hyperfootnotes=false, colorlinks=true,%
            urlcolor=blue, linkcolor=black,  citecolor=black,%
            pagecolor=black, anchorcolor=black, breaklinks=true]{hyperref}
\usepackage{times}
\usepackage{eurosym}
\usepackage{hyperref}

\usepackage[pdftex]{graphicx}
%\usepackage{rotating}
\graphicspath{{img/}}

\usepackage{epstopdf}
\epstopdfsetup{outdir=img/,
  suffix=-generated}

\usepackage[pdftex]{color}
\definecolor{gray97}{gray}{.97}
\definecolor{gray75}{gray}{.75}
\definecolor{gray45}{gray}{.45}

\usepackage{listingsutf8}
\lstset{
  inputencoding = utf8/latin1,
                  %
                  frame = Ltb,
                  framerule = 0 pt,
                  aboveskip = 0.5 cm,
                  framextopmargin = 3 pt,
                  framexbottommargin = 3 pt,
                  framexleftmargin = 0.4 cm,
                  framesep = 0 pt,
                  rulesep = .4 pt,
                  backgroundcolor = \color{gray97},
                  rulesepcolor = \color{black},
                  %
                  stringstyle = \ttfamily,
                  showstringspaces  =  false,
                  basicstyle = \small\ttfamily,
                  commentstyle = \color{gray45},
                  keywordstyle = \bfseries,
                  %
                  numbers = left,
                  numbersep = 15 pt,
                  numberstyle = \tiny,
                  numberfirstline  =  false,
                  breaklines = true
}

\hypersetup{colorlinks = true, urlcolor = blue,
            pdftitle = Trabajo Fin de Curso,
            pdfsubject = Curso de Experto en Desarrollo de Videojuegos 2011-12,
            pdfauthor = Varios}

\hoffset -0.54 cm
\voffset -0.54 cm
\textheight = 22 cm
\textwidth = 17 cm
\topmargin = 0 cm
\oddsidemargin = 0 cm
\evensidemargin = 0 cm
%\parindent = 0 cm
\parskip = 6 pt

\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf[EH,EF,OH,OF]{}
\fancyhf[OLH]{Trabajo Fin de Curso: {\em Shadow City}}
\fancyhf[ERH]{Curso de Experto en Desarrollo de Videojuegos 2011-12}
\fancyhf[ELH]{\thepage}
\fancyhf[ORH]{\thepage}

\pdfimageresolution = 300

\begin{document}

\input{portada}

\newpage{\pagestyle{empty}\cleardoublepage}

\tableofcontents

\newpage{\pagestyle{empty}\cleardoublepage}

\input{resumen}

\newpage{\pagestyle{empty}\cleardoublepage}

\input{introduccion}

\newpage{\pagestyle{empty}\cleardoublepage}

\input{objetivos}

\newpage{\pagestyle{empty}\cleardoublepage}

\section{Arquitectura de la solución.}

\input{patrones}

\input{integracion}

\input{mundo}

\input{cuerpos}

\input{integracion2}

\input{gestion}

\input{humanmanager}

\input{character}

\input{zombiemanager}

\input{stagemanager}

\newpage{\pagestyle{empty}\cleardoublepage}

\input{costes}

\newpage{\pagestyle{empty}\cleardoublepage}

\input{manual}

\newpage{\pagestyle{empty}\cleardoublepage}

\input{conclusiones}

%\newpage{\pagestyle{empty}\cleardoublepage}
%
%\input{bibliografía}
%
\end{document}
